package com.fivebrms.forms.w9.forms;

import java.io.Serializable;

import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;

public class RemoteLoginCredentials implements Serializable
{
	private String	login;
	private String	password;
	public boolean	isLoginSuccessful;

	public String getLogin()
	{
		return login;
	}

	public void setLogin(String login)
	{
		this.login = login;
	}

	public String getPassword()
	{
		return password;
	}

	public void setPassword(String password)
	{
		this.password = password;
	}

	public boolean isLoginSuccessful()
	{
		return isLoginSuccessful;
	}

	public void setLoginSuccessful(boolean isLoginSuccessful)
	{
		this.isLoginSuccessful = isLoginSuccessful;
	}

	public String toString()
	{
		return ToStringBuilder.reflectionToString(this);
	}

	public boolean equals(Object obj)
	{
		return EqualsBuilder.reflectionEquals(this, obj);
	}

	public int hashCode()
	{
		return HashCodeBuilder.reflectionHashCode(this);
	}
}
